Skip to content

Fix the gray image checking error#13

Open
Larry-u wants to merge 1 commit intojbohnslav:masterfrom
Larry-u:patch-1
Open

Fix the gray image checking error#13
Larry-u wants to merge 1 commit intojbohnslav:masterfrom
Larry-u:patch-1

Conversation

@Larry-u
Copy link

@Larry-u Larry-u commented Mar 13, 2020

The default dimension of a gray image read by opencv is 2, which means using img.shape[2] will raise index error.

The default dimension of a gray image read by opencv is 2, which means using img.shape[2] will raise index error.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant